@echo off
setlocal enabledelayedexpansion
cd /d %~dp0
node . "%1" --history --disable_serve_index 1
if !ERRORLEVEL! neq 0 (
   pause
   exit !ERRORLEVEL!
)
